Page({
  data: {
    // 榜单数据，可根据实际接口返回调整
    rankList: [
      {
        num: 1,
        bgColor: "#FFC107", // 第一名背景色
        cover: "/assets/icons/961440315bc505e9d1f6ab03815d082.png", // 替换成实际封面图路径
        title: "南方电网 | 我们之间 Dir",
        creator: "孟晨",
        duration: "04'14''"
      },
      {
        num: 2,
        bgColor: "#BDBDBD", // 第二名背景色
        cover: "/assets/icons/b7ff6b3009350686fad6aa44a9a6e7a.png",
        title: "iKang Rejuve | 爱康悦养...",
        creator: "伍九",
        duration: "03'13''"
      },
      {
        num: 3,
        bgColor: "#FF9800", // 第三名背景色
        cover: "/assets/icons/3eaf55b8bc3fc22d6305fff8257c667.png",
        title: "美团 | 梦回白马浪",
        creator: "师豪shihao",
        duration: "10'47''"
      },
      {
        num: 4,
        bgColor: "#9E9E9E", // 第四名背景色
        cover: "/assets/icons/bb6dbda5d10b702d955dc6896d547c1.png",
        title: "Picture Me | NIO ET5T",
        creator: "NOC IO",
        duration: "01'31''"
      }
    ],
    // 底部功能导航数据
    navList: [
      {
        icon: "/assets/icons/877069664ff0c52f668955e86d94e09.png", // 替换成实际图标路径
        text: "频道"
      },
      {
        icon: "/assets/icons/fd342566a1b9303853e9a8073a4cfff.png",
        text: "正版素材"
      },
      {
        icon: "/assets/icons/f187324ba7e9272f6d6d6c1197a3681.png",
        text: "课堂"
      },
      {
        icon: "/assets/icons/f187324ba7e9272f6d6d6c1197a3681.png",
        text: "品牌墙"
      }
    ],
    // 底部TabBar数据（实际建议在app.json配置官方TabBar）
    tabbarList: [
      {
        icon: "/assets/icons/home_icon.png",
        text: "首页"
      },
      {
        icon: "/assets/icons/vertical_icon.png",
        text: "竖屏"
      },
      {
        icon: "/assets/icons/search_icon.png",
        text: "搜索"
      },
      {
        icon: "/assets/icons/message_icon.png",
        text: "消息"
      },
      {
        icon: "/assets/icons/mine_icon.png",
        text: "我的"
      }
    ]
  },
  onLoad() {
    // 可在这里调用接口获取真实数据，替换data里的模拟数据
    // 示例：wx.request({...})
  }
});